{extend name="admin/layout" /}
{block name="main"}
<div class="row">
    <div class="col-md-offset-3 col-md-6">
        <div class="panel">
            <div class="panel-heading">{$tool.name}-数据导出</div>
            <div class="panel-body text-center">
                <div class="spacer spacer-bottom">
                    <h3 class="text-warning">
                        目前总共有&nbsp;
                        <font color=green>{$amount.all}</font>
                        &nbsp;条订单，可导出&nbsp;
                        <font color=green>{$amount.can}</font>
                        &nbsp;条，其中有&nbsp;
                        <font color=red>{$amount.bu}</font>
                        &nbsp;条需要补挂！
                    </h3>
                    <hr>
                    <a href="{:url('xz',['tid'=>$tool.tid])}?type=all" target="_blank" type="button"
                       class="btn btn-space btn-warning btn-rounded"
                       onClick="return confirm('确认导出全部{$tool.name}订单')">
                        导出全部订单
                    </a>
                    <a href="{:url('xz',['tid'=>$tool.tid])}" target="_blank" type="button"
                       class="btn btn-space btn-info btn-rounded"
                       onClick="return confirm('确认导出补挂{$tool.name}数据？')">
                        导出补挂订单
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
